function App() {

    this.user = null;

    this.mapController = new MapController();

    this.parseUrl = function (param) {
        var value = null, keyValues = [];
        location.search.substr(1).split("&")
            .forEach(function (item) {
                keyValues = item.split("=");
                if (keyValues[0] === param) {
                    value = decodeURIComponent(keyValues[1]);
                }
            });
        return value;
    }
}
